package com.base.service.CZB;

import com.base.po.czb_sdk.GasOrder;
import com.base.po.czb_sdk.GasOrderExample;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GasOrderService {
    int countByExample(GasOrderExample example);

    int deleteByExample(GasOrderExample example);

    int insert(GasOrder record);

    int insertSelective(GasOrder record);

    List<GasOrder> selectByExample(GasOrderExample example);

    List<GasOrder> selectByUserId(@Param("page") Page page, @Param("record") GasOrder record);

    GasOrder selectByPrimaryKey(String id);

    GasOrder selectByOrderSn(@Param("orderSn") String orderSn);

    int updateByExampleSelective(@Param("record") GasOrder record, @Param("example") GasOrderExample example);

    int updateByExample(@Param("record") GasOrder record, @Param("example") GasOrderExample example);

    int updateByPrimaryKeySelective(GasOrder record);

    int countByUserId(String userId);

    Integer countAllGasOrder(String userId, String czborderid, String czbordersn, String gasid, String paystatus, String createTime1,String createTime2);

    List<GasOrder> selectAllGasOrder(String userId, String czborderid, String czbordersn, String gasid, String paystatus,  String createTime1,String createTime2, Page page);
}